Implemented a join