how to close day according to the contract