Done with the text generator. Refactored the variable names with an underscore prefix, in line with the convention.