attempting to fix main()