improved join command