set attrs