added map code