first version of plots