need to find a better way of getting the urls