Add query sub type