query adjusted