added real v pred stuff