removed depreciated functions