extended genmodel and code generated by hand for impModLang