Simplified the patterns