check for url as well