added encoding ch1