added location functionality to desktop version