validates with mixins