There is a send_msg at line 113 as well, why do we need to send it twice?