added part B school solution