Sample message handler