added gnuplot fun