I'm confused about join and split methods