added detailed query for decimation