week2 and week3 homework