removed location tracking and added  location test to the view