changed return type of main()