add url prototype