updated prob2