attempt at week 3 hw