add reset method to replay