updated doc example for limits