added check for successful creation of MSA and error message if it was not