route settings working

still need to add test cases