added tostring for stringmsg