modification of examples and graph methods