Changes to Join menthod to keep the ngh consitent