edited first p-graph again