added service that calls num_of_waypoints