started implementing multijoin