fixed dumb variable scoping bug
inner_join
outer_join