add validation to ensure names are specified when date is created