to move logic from present layer