restructured method of collecting information from gps