updating README and adding check to t.undo()