It's telling me that I can't use maxTextsreached as a function