some new features for the generators (minimalisation). factored out the type and format settings