Implement runFunctionBody