At the end of the stay in port, the port agent draws up a Statement of Facts, setting out a log of events during the ship's stay in port. The Statement of Facts enables a time sheet to be drawn up and signed by the master and the shipper or receiver of the cargo. The time sheet enables laytime and therefore demurrage or despatch to be calculated.[3]