Remove pattern matching codE?