week 4 code 1 & 4 updates