added javadoc for Element