added line wrapping mode