cleaning unused param in private func