afiq's repo on codes relating to HLT work