added line break encoder class