added dq(); debug query for capsule