date filtering implemented