finish basic model generator