Cube implemented