Updated check Text and made the count shorter.
Updated check().