basic study functionality, need to handle end of cards