Does anyone know how to use the text for instance variables instead of global variables