second draft of importancePlot()