Update textGen.java