removed deprectated call