adding db query runner