removed copys but not printing graph