customized member replaced (fixed) by "if interval > 1".
Variable names of frequency vs. interval fixed.