Added code to receive string message.