first implementation of message bar