completed google maps API functionality