I have been discussing this outside this forum with Serge, but I thought this may be useful for the community. Is there an elegant way to code a Phoenix equivalent to the NONMEM’s NEWIND indicator, especially at the individual level. e.g If I modeling a repeated time to even model, where I would like to write a counter to calculate the total number of events in a ID as a separate variable which I can output into the table. Other uses maybe setting unique starting values for each individual based on certain variable in the code or dataset. Thanks, Vijay