deleted some useless functions