removed map init code