added visual line mode