added "element-name" attribute, so that we can define the element thats getting saved, (its not always going to be called 'element')