Added text output in main()