implementing gps advanced stage