doc about transient dependent states. code for messages