Created isolated map code