add support for APCQ and LPCQ