starting an example function in makeGraph