added messaging hook #1798