updated for url shortener