updated prob1