now line break function based on classify result