Implemented getting the location