add text to generator