started router code