add date validation