shows an example of attr_accessor