adding mutli-router support