removed legacy map code