made any functions private that could be made private.