added map code
edited map code