format the TSP service.