getting messages working