added setup and teardown