write the runner
fix bugs from basic testing