rewrite TextUtils using slick library