implemented custom text limit