map zones and map code fineshed