add query runner