started judge button functionality