HQ common library