Changing the automatic generation