wip : templatising routing