missing line with u = r.URL; make it build