Make some variables and function private