develop: start getAllPatterns