completed message functionality