first version of the plot