Implementing join.