add global hcca pointer for avoiding redundant code