got rid of the void in the main()