What determines how the referee acts?