add replay feature