added support for url type