add url functionality