Add obj function private