changed dataseriesindex to single line, no ternary needed