basic validation rules now work