avoid code duplication; testing winnowing