moved tool data storage to the element rather than the tool itself