operator[] from vector