added a test script
more work
work on scopes any types