instead of tData.get(j) you can just use nestedData