with crappy function plotter