add set method for rotated