added msg operator=