PlotState type added