add text wrapping routine