impl SimpleVector class