Added tchain variable ch to header