Redo Function Implimented