some progress on graph functions