add rooturl as arg