got rid of static in service method