moved text into seperate methods in the ui class