Add code for ch3, ch4 and ch5