of course , her teacher mr. whiffle yanked off another pink detention form from his dwindling pad , scribbled in bonnies name without even looking down and handed it to her with that smug , self-satisfied smile of his .