switch service class to a single method