Implemented the message printing and the slef destruction mechanism