completed ch1 and ch2