make public helper functions private