trying again to fix attr_accessor error