added reply message functionality