Added simple text rearrangement using library