forgot to comment out test lines in main()