Refactor lookup_msg as msg_state and msg_state_prep?
Show the actual non-UP status