added messages to index