second pset, first attempt