figured out queries