added some old code examples