Cube-vertice code added