join added,bug fixed