implemented filtering items by date