Criteria for a complying loan agreement