changed return type to URL