removed old map code