added graph to sim_replacement