add: begin implementation of replay