reader/writer methods attached to the prototype