added .done on addMessage function
fixed merge conflict