parametrized the plot quite a bit