changed warning messages to allow for multiple