add debug to discover routing