non-periodic function