change the method from setAttribute to SetFunctionSignature