Added function that returns exspense log. Added function to reurn random shock.