you need to add the code from earlier in the book. look for:

def initialize(name, artist, duration)

can't remember the exact page i'm afraid.

happy new year