implemented simple loading of messages