added support for url