Feature/textlength implementation