Removed makePatterns(), it's unnecessary.