set up the method calls for numroutes