ninth pset, first attempt