Tsp program 2