commented the first 4 points of main()