specify which attributes are required