beofre adding graph
made graph