Make helper function private