Creditor A agreed to loan Debtor D the money for the purchase of inventory. Debtor D signed a security agreement on October 1. Creditor A filed a financing statement on the goods on October 2. The inventory was shipped FOB place of shipment on October 5. When did the security interest attach?