finished prob1