add query exec