refining micro-services example, p1