Correct all of the grammar flaws in the following paragraph
As the ghost goes on and reveals indirectly the identity of the murderer, hamlet is deeply shocked but not surprised.
As the ghost goes on and indirectly reveals the identity of the murderer, Hamlet is deeply shocked but not surprised.