adding deal logic for cards