make filtering work (added collection-hooks dependency for core package)
incorporate #82