wirte, read methods have to be public, clear usually too.