line.attr[x] will only be set, when an attribute is changed