Got messages working. Type problem