add the music function