added validations to the data entry again