most of card is finished, just need to handle error cases with code
inside their code block