Manipulation of characters in Hamlet