location of executeFunctionStatement is moved