depreciated functions

updated