 And he commissions his son Hamlet to avenge the murder. Hamlet's ready to do it, but he still hesitates. He says, how can I be absolutely sure? If I avenge the murder, and if Claudius really isn't guilty, then I would be guilty of murder. How can I make sure? And then he hits upon this idea of the play.