docuemnt join