Added: move pattern to pattern manager