made data used by functions private