added support for comma-separated attribute lists