add "compare with patterns" functionality