removed database dependency in the service