creating seriesDef class