added goals for graph2