render messages working