added one sop in message() with some defination to understand logic
added on sop for explanation