added CHOST as a variable
rch