added attr_accessible functionality back in