add validation to docket