Delete unused logic