code section comment added for msg sending management