Generate data with attributes.