moved all text variable assignments to other methods