updated example
updated doc