define things for ApexQ