uploaded completed pseudo and partial solution