adding attr_accessible support