start using DB.runQuery instead of sqltyped