level-test version should be more flexible