removed undefined function call for debugging