showCube implementation