remove depreciated method