Added print messages to main