add ability to define multiple attributes at once