remove depreciated functions