set up for two tables and a join, but it still only uses the one table.