loop through returned cards