A 3D functional rubik's cube