refactoring For && Vector Cls