Cube() patterns closure