Removed reference to vecs/vars to see if that works, still complaining "initial value of reference to
          non-const must be an lvalue"