Added privacy functions: get and set