Using Thread for gmap