add query selector