also People ex rel. Resnik v. Curtis & Davis, Architects & Planners, Inc., 78 Ill. 2d 381, 385 (1980), quoting Carson Pirie No. 309 v. Grand Stage Lighting Co., 235 Ill. App. 3d 756, 761-62 (1992) (concluding that an agreement in which one party was required to promptly pay all subcontractors, develop and implement a procedure for paying the subcontractors, and submit evidence that all indebtedness had been paid before receiving its final payment was for the direct benefit of the subcontractors); (6) Fox Lake, 178 Ill. App. 3d at 911-12 (determining that a performance bond agreement in which one party agreed to perform the work for a third party if the contractor was unable to do so was for the direct benefit of the third party); and (7) Town & Country Bank, 55 Ill. App. 3d at 97-99 (<HOLDING>). Conversely, courts have held that a
holding that an agreement which required the submission of an affidavit of payment to subcontractors or lien waivers before payment was made by the general contractor was for the direct benefit of the subcontractors holding that a paywhenpaid clause does not preclude a subcontractors recovery under the miller act payment bond because the federal legislation conditions payment of the subcontractor not on payment by the government to the contractor but rather on the passage of time from completion of the work or provision of materials holding that it was not essential to an action by a supplier on a payment bond under the miller act that a demand be made on the general contractor for payment  although there was evidence in the case from which it could be found that the materialman looked to the general contractor for payment  since the statute does not require a demand for payment but merely requires written notice of the claim holding in part that the liability insurance company of the subcontractor which had named the general contractor as an additional insured on the subcontractors policy was liable to reimburse the general contractor for a settlement payment the general contractor had made to the subcontractors employee holding that bankruptcy trustee for contractor could not avoid prepetition payment of funds from contractor to subcontractors