adding the Period::gap method #7