changed getURL to use info