Adding query stub