periodicity and calculation