worked on map and enemy