trying to get routing to work. see comments on the original file