here is the txt generator stuff