Remove redundant select{} from main()