Add redo and search function 2