use source data criteria as an attribute of the model