Adding textLength block