working on the delete card function. close to making that work