restored the date search