added PFQuery stuff