refactoring variable in heca.h