general loan and collateral agreement