used deprecated method in one module. added it