contract necessity