join code should return concat of all the data, not just outer or inner