added scope statement