updated week5 homework