added ToC and an example