updtaed week 10 with 11 code