make public functions private