CF Query Set Up