need to fix my messed up consumption of the maps api