Issue #248 modifying method and creating a graph