Adding methods to music.py