start to implement join, working on partition