adding attributes to flashcard