endpoint-cost service example validated and added