added fields to query