router example modified to use a custom router