using ha-lib with namespace support