hw3 done right