adding fromIndex to Join