added set checked and set private functionality