Added sendMsg Method for later use