Changed msg to use the already existing data rather than copy it over