I believe that the compiler complaining about attempting to assign an int to the field textSize of type float
textSize