daterange and search added