made exit a transition, I think if we use data iteration we can easily find the start and end point to insert the new piece of data