Removed undefined function call