worked on week 6 homework.