Small question: why declaring `WaveformDataPoint` as a var as well as a named function?