mixin the forms to dry up code