adding a way to kill some pattern matching