documentation and rotation fix