Add a mid phase to the list We are passing the particle and midphase here rather than just the key because we store a cookie on the midphase that we want to retrieve, and it has one cookie per particle. This could probably be cleaned up a bit...