It's repeated for each element of song, artist, and album, but I can figure out a way to abstract it out to a method