make compatible with GenMyModel