trying fixing generic service class