a version not really working in test