adding feature to filter by date