add replay done callback