implemented send filtering
implemented filter fuctionallity