adding rotation support