added support for new roots when routing