added date validation for steps