added Vector class