added date filter.