updated to include ability to poll GPS