change from static routes to more dynamic routes