added routers functionality