set period in examples to 1s (more realistic)