add ability to undo matches easily