cleaning up locationManager, added comment