bob solution for P2