query altered