to move logic from present layer to service