added validations for date and weight