QUW with main()