add query part