Fix typo - should use 'node' rather than 'default' to access attributes
Switch attribute style to array