added autogenize and autogen