change requirement code to autogen