snapshot-5 - replaced BASE_URL with global var