snapshot-1 - replaced constant BASE_URL with global var