updated rootUrl() to rootURL()