example 2, end of messaging snapshot could not use magic string due to strong type constraint : I use empty frame (could not be in map). Normaly we should use a nice algebric type but I try to stay close to c code