validation,extracted mixin...