databag as an attribute