object oriented flash_card