separated out histogram query for clarity