++ Main class, print msg method