set scope