switch to cube example