change to explicit inner join