added start and get location functionality