add interval settting