data rotation and translation added