implemented privacy in ttt.js