delete unused logic