adding queries
moving phpfilter