graph saving/loading first case works