hook up for tests