part 2 of flash card feature implementation