adding join and split