added call to main()