changed to left join