simplifying syntax in service implementation