Case studies: Smartcards