added attr_accessible param