How certificate/cards works