add current location functionality