Adding replay function 4
Adding replay function 5