adding sensible data attributes and helper functions