revised week 2 assignment