add method loguj to private'