FunctionDeclaration should be defined in a variable scope