Adding rotate and format