wrote a rescue block for creating incoming messages