got delete and undo working