ch4 code