Adding functionality to the flash cards