add basic query