Rewrote sharing
Adding filtering