cube with rotation