changed labels confidence formula