use better naming for model since it is a ref and allow arrays/sets to support refs