added getIdsFromUrl()