Use new irr method to replace deprecated one