updated week 6 homework