Vector class is multipurpose