did not understand msg-wrapper trick