expanding claim pull query