week 3 with small corrections