depreciated functions

remove depreciated functions