Added seperate calls for inner joins