Added another three-table join query