added some programs in main()