= replaced deprecated fn call with a new one