add a critria to check dates because datesUnavailable assumes data exists?