model generator creating model form