basic GPS functionality implemented