append the hcode fields