Implemented line wrapping