improve upon test harness