google map function is almost done