childFunc and teardown