Line rotation and drawing minorly edited.