Nest the addTitle function inside getAlbums