added attr_accessible :name