It's probably smart to just declare an internal function to free clients