dynamic arrays code generation (in process)