week 6 code