decoupled Stock and DBQuery