completed week 3 hw 2