figuring out how routing works