adding query help