add sub gen for: metamodel