adding the vec class