maps added to MainPage, next: the maps function