Added the FunctionName variable to the begin section of the function