added messaging functionallity