Code to create map