New module and fixing a depreciated method