repackage to make testing harness reusable