added messaging functions