added metadata attributes and toc