remove uneeded functions