updated hla code and documentation