add graph and stats