bug with generators; cases can be depleted
added any_generators function