add query side