first working attempt to capture gps data with everything else