set modelObj for usage in view generation