This was copy/paste from data['duration']. I'll change both.