Which of the following is necessary for the attachment of a security interest?
a) the filing of a financing by another creditor
b) the completion of a written security agreement signed by the debtor
c) the creditor's giving of value to the debtor
d) the creditor's having preexisting rights to the collateral.