changed PROB variable name