change the way routes work