added flashcard class