started work on validation errors