model attribute is optional now as long as model is set or true