conditional periodicity