using query field to fix phila fed teach thing