for the week 3 assignment Q2