added more code examples