implemented gps and network based location services