scope working