added parsing to plot format