redo of the first hw as I forget what it was about