Please create separata class for outputting invormation.
Logic should be incapsulated there.