added one more plot function