changes to the spotify code