For attributes, arrays are used. For all calculations, 'names' are used.
Fixed #5