some little things mainly to vertex class