done with other code. Currently seg faults on map!