better plot modularity