made setup and teardown public