added cmds to undoing the things