put in code for storing and retrieving messages NO ERROR HANDLING