Two graphs working for case 1