The variable is called "text" because it is a string. It is a logical error to make it Boolean only to make easy to check it later and then converting it again for printing.