removed an undefined function