Adding ch7 codes