display messages in response to various possible states