rearranging setUpMapView funtion call