Appending Asset into an array

The following seems almost working except that I get loss of resource.

    execute {
        let myCollections:@[NonFungibleToken.NFT] <- []
        log("NFT Minted and deposited to Account 2's Collection")
        let firstRound = self.minterRef.mintNFT(nfts: [], recipient: self.receiverRef)
        for element in firstRound {
            log(element)
            myCollections.append(<- self.collectionRef.withdraw(withdrawID: UInt64(element)))
        }
    }