working now with the validation fields