hide helper functions