improved microservices example