last changes to the concurrency code gen.