added some query statistics