Passed the groupby and select.
initial work for join