can't be just `if date_max`?