changed some ints to 'Vertex'