added end date and start date validations