New feature: sample_epochs