populating dynamic attributes