implement show_state_msg