For the record, one other required change was to make sure that the GROUP variable on the SERIES plot is…