added interval and ball num config options