refined query