trying to get messageStore to work