added scope test