no need for a closure in the end, I decided no need for private vars since not a lib to be published