updated flash cards class

flash cards work now