Time for action – Building the card-flipping function