finalizing prob1