added prediction and judges based on prediction