More IPA query stuff