clean API for Modelgeneration is it so ok?