match func test with new interface