added autogenerate form