add model generator