vertex class created