added URL functionality