refactored message/info display