adding attr_accessor instructions