updates for flashcards.rb