Converted patterns to const