finish contest replay add logic