adjust document
add rotate