fixed not working main()