Why do both case 1 and case 2 call c1->chat()?