start implementing undo bar