manually set attributes