deletion of cards implemented