throughd lab 9, working pset 9