Added line rotation