working on passing main map to detail view