added Element.data function