Rotation data saving

#485