remove some unneeded functions