tweak to use url routes