added week 10 code