new type generate model and forms