remove and clean patterns #10