add a utility for storing data on an element