added state for in the vertex value class