dynamically plotting graphs = fully functional