adding more logic to service