added examples, updated doc with cfg(name) for 1.1.2