prep for gmap