Make a function private, better comments