Redefinition of overloaded index operator and add vector field