basic interpolation on graph
mail fixed up