localize the unsafety, like a good rust citizen
remove unused CC var