changed series to parallel