add SubRef to access attributes in submodels