two options: show or save plot