editing hc.R