datesearch sort of works