What is wrong with createMap() method? Help please !