Started implementing the replay functionality.