added local scope in the doc