implement genz test functions