why default param for `onInterval`? not much value in using this without doing anything with the intervals