defining scope