cleared useless functions