add code of week 5-7